home *** CD-ROM | disk | FTP | other *** search
/ Amiga Developer CD 2.1 / Amiga Developer CD v2.1.iso / NDK / NDK_3.5 / Include / include_h / pragmas / mathtrans_pragmas.h < prev    next >
Encoding:
C/C++ Source or Header  |  1999-10-20  |  4.6 KB  |  139 lines

  1. #ifndef PRAGMAS_MATHTRANS_PRAGMAS_H
  2. #define PRAGMAS_MATHTRANS_PRAGMAS_H
  3.  
  4. /*
  5. **    $VER: mathtrans_pragmas.h 40.1 (17.5.1996)
  6. **    Includes Release 44.1
  7. **
  8. **    Direct ROM interface (pragma) definitions.
  9. **
  10. **    Copyright © 1999 Amiga, Inc.
  11. **        All Rights Reserved
  12. */
  13.  
  14. #if defined(LATTICE) || defined(__SASC) || defined(_DCC)
  15. #ifndef __CLIB_PRAGMA_LIBCALL
  16. #define __CLIB_PRAGMA_LIBCALL
  17. #endif /* __CLIB_PRAGMA_LIBCALL */
  18. #else /* __MAXON__, __STORM__ or AZTEC_C */
  19. #ifndef __CLIB_PRAGMA_AMICALL
  20. #define __CLIB_PRAGMA_AMICALL
  21. #endif /* __CLIB_PRAGMA_AMICALL */
  22. #endif /* */
  23.  
  24. #if defined(__SASC) || defined(__STORM__)
  25. #ifndef __CLIB_PRAGMA_TAGCALL
  26. #define __CLIB_PRAGMA_TAGCALL
  27. #endif /* __CLIB_PRAGMA_TAGCALL */
  28. #endif /* __MAXON__, __STORM__ or AZTEC_C */
  29.  
  30. #ifndef CLIB_MATHTRANS_PROTOS_H
  31. #include <clib/mathtrans_protos.h>
  32. #endif /* CLIB_MATHTRANS_PROTOS_H */
  33.  
  34. #ifdef __CLIB_PRAGMA_LIBCALL
  35.  #pragma libcall MathTransBase SPAtan 1e 001
  36. #endif /* __CLIB_PRAGMA_LIBCALL */
  37. #ifdef __CLIB_PRAGMA_AMICALL
  38.  #pragma amicall(MathTransBase, 0x1e, SPAtan(d0))
  39. #endif /* __CLIB_PRAGMA_AMICALL */
  40. #ifdef __CLIB_PRAGMA_LIBCALL
  41.  #pragma libcall MathTransBase SPSin 24 001
  42. #endif /* __CLIB_PRAGMA_LIBCALL */
  43. #ifdef __CLIB_PRAGMA_AMICALL
  44.  #pragma amicall(MathTransBase, 0x24, SPSin(d0))
  45. #endif /* __CLIB_PRAGMA_AMICALL */
  46. #ifdef __CLIB_PRAGMA_LIBCALL
  47.  #pragma libcall MathTransBase SPCos 2a 001
  48. #endif /* __CLIB_PRAGMA_LIBCALL */
  49. #ifdef __CLIB_PRAGMA_AMICALL
  50.  #pragma amicall(MathTransBase, 0x2a, SPCos(d0))
  51. #endif /* __CLIB_PRAGMA_AMICALL */
  52. #ifdef __CLIB_PRAGMA_LIBCALL
  53.  #pragma libcall MathTransBase SPTan 30 001
  54. #endif /* __CLIB_PRAGMA_LIBCALL */
  55. #ifdef __CLIB_PRAGMA_AMICALL
  56.  #pragma amicall(MathTransBase, 0x30, SPTan(d0))
  57. #endif /* __CLIB_PRAGMA_AMICALL */
  58. #ifdef __CLIB_PRAGMA_LIBCALL
  59.  #pragma libcall MathTransBase SPSincos 36 0102
  60. #endif /* __CLIB_PRAGMA_LIBCALL */
  61. #ifdef __CLIB_PRAGMA_AMICALL
  62.  #pragma amicall(MathTransBase, 0x36, SPSincos(d1,d0))
  63. #endif /* __CLIB_PRAGMA_AMICALL */
  64. #ifdef __CLIB_PRAGMA_LIBCALL
  65.  #pragma libcall MathTransBase SPSinh 3c 001
  66. #endif /* __CLIB_PRAGMA_LIBCALL */
  67. #ifdef __CLIB_PRAGMA_AMICALL
  68.  #pragma amicall(MathTransBase, 0x3c, SPSinh(d0))
  69. #endif /* __CLIB_PRAGMA_AMICALL */
  70. #ifdef __CLIB_PRAGMA_LIBCALL
  71.  #pragma libcall MathTransBase SPCosh 42 001
  72. #endif /* __CLIB_PRAGMA_LIBCALL */
  73. #ifdef __CLIB_PRAGMA_AMICALL
  74.  #pragma amicall(MathTransBase, 0x42, SPCosh(d0))
  75. #endif /* __CLIB_PRAGMA_AMICALL */
  76. #ifdef __CLIB_PRAGMA_LIBCALL
  77.  #pragma libcall MathTransBase SPTanh 48 001
  78. #endif /* __CLIB_PRAGMA_LIBCALL */
  79. #ifdef __CLIB_PRAGMA_AMICALL
  80.  #pragma amicall(MathTransBase, 0x48, SPTanh(d0))
  81. #endif /* __CLIB_PRAGMA_AMICALL */
  82. #ifdef __CLIB_PRAGMA_LIBCALL
  83.  #pragma libcall MathTransBase SPExp 4e 001
  84. #endif /* __CLIB_PRAGMA_LIBCALL */
  85. #ifdef __CLIB_PRAGMA_AMICALL
  86.  #pragma amicall(MathTransBase, 0x4e, SPExp(d0))
  87. #endif /* __CLIB_PRAGMA_AMICALL */
  88. #ifdef __CLIB_PRAGMA_LIBCALL
  89.  #pragma libcall MathTransBase SPLog 54 001
  90. #endif /* __CLIB_PRAGMA_LIBCALL */
  91. #ifdef __CLIB_PRAGMA_AMICALL
  92.  #pragma amicall(MathTransBase, 0x54, SPLog(d0))
  93. #endif /* __CLIB_PRAGMA_AMICALL */
  94. #ifdef __CLIB_PRAGMA_LIBCALL
  95.  #pragma libcall MathTransBase SPPow 5a 0102
  96. #endif /* __CLIB_PRAGMA_LIBCALL */
  97. #ifdef __CLIB_PRAGMA_AMICALL
  98.  #pragma amicall(MathTransBase, 0x5a, SPPow(d1,d0))
  99. #endif /* __CLIB_PRAGMA_AMICALL */
  100. #ifdef __CLIB_PRAGMA_LIBCALL
  101.  #pragma libcall MathTransBase SPSqrt 60 001
  102. #endif /* __CLIB_PRAGMA_LIBCALL */
  103. #ifdef __CLIB_PRAGMA_AMICALL
  104.  #pragma amicall(MathTransBase, 0x60, SPSqrt(d0))
  105. #endif /* __CLIB_PRAGMA_AMICALL */
  106. #ifdef __CLIB_PRAGMA_LIBCALL
  107.  #pragma libcall MathTransBase SPTieee 66 001
  108. #endif /* __CLIB_PRAGMA_LIBCALL */
  109. #ifdef __CLIB_PRAGMA_AMICALL
  110.  #pragma amicall(MathTransBase, 0x66, SPTieee(d0))
  111. #endif /* __CLIB_PRAGMA_AMICALL */
  112. #ifdef __CLIB_PRAGMA_LIBCALL
  113.  #pragma libcall MathTransBase SPFieee 6c 001
  114. #endif /* __CLIB_PRAGMA_LIBCALL */
  115. #ifdef __CLIB_PRAGMA_AMICALL
  116.  #pragma amicall(MathTransBase, 0x6c, SPFieee(d0))
  117. #endif /* __CLIB_PRAGMA_AMICALL */
  118. /*--- functions in V31 or higher (Release 1.1) ---*/
  119. #ifdef __CLIB_PRAGMA_LIBCALL
  120.  #pragma libcall MathTransBase SPAsin 72 001
  121. #endif /* __CLIB_PRAGMA_LIBCALL */
  122. #ifdef __CLIB_PRAGMA_AMICALL
  123.  #pragma amicall(MathTransBase, 0x72, SPAsin(d0))
  124. #endif /* __CLIB_PRAGMA_AMICALL */
  125. #ifdef __CLIB_PRAGMA_LIBCALL
  126.  #pragma libcall MathTransBase SPAcos 78 001
  127. #endif /* __CLIB_PRAGMA_LIBCALL */
  128. #ifdef __CLIB_PRAGMA_AMICALL
  129.  #pragma amicall(MathTransBase, 0x78, SPAcos(d0))
  130. #endif /* __CLIB_PRAGMA_AMICALL */
  131. #ifdef __CLIB_PRAGMA_LIBCALL
  132.  #pragma libcall MathTransBase SPLog10 7e 001
  133. #endif /* __CLIB_PRAGMA_LIBCALL */
  134. #ifdef __CLIB_PRAGMA_AMICALL
  135.  #pragma amicall(MathTransBase, 0x7e, SPLog10(d0))
  136. #endif /* __CLIB_PRAGMA_AMICALL */
  137.  
  138. #endif /* PRAGMAS_MATHTRANS_PRAGMAS_H */
  139.